Skip to content

ros2daemon also uses node logger to store log in the file system.#1237

Merged
fujitatomoya merged 1 commit into
rollingfrom
issues/1236
Jun 2, 2026
Merged

ros2daemon also uses node logger to store log in the file system.#1237
fujitatomoya merged 1 commit into
rollingfrom
issues/1236

Conversation

@fujitatomoya
Copy link
Copy Markdown
Collaborator

Description

part of #1236.

with this, ros2daemon can also store log file and put the log data on /rosout topic.

Fixes #1236

Is this user-facing behavior change?

Not really, now user can see ros2daemon logfile in ros log directory.

Did you use Generative AI?

Yes, Claude Opus 4.7

Additional Information

Signed-off-by: Tomoya Fujita <tomoya.fujita825@gmail.com>
@fujitatomoya fujitatomoya requested a review from ahcorde May 24, 2026 01:25
@fujitatomoya fujitatomoya self-assigned this May 24, 2026
Copy link
Copy Markdown
Collaborator Author

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ahcorde what do you think about this fix? i believe there is no downside even if we start the daemon in foreground.

@fujitatomoya
Copy link
Copy Markdown
Collaborator Author

Pulls: #1237
Gist: https://gist.githubusercontent.com/fujitatomoya/b82e7f923c0ae2c8b118d5e82f4cc4b7/raw/7232f67ae225a8f0ccbc08fdd2194f900c5474ee/ros2.repos
BUILD args: --packages-above-and-dependencies ros2cli
TEST args: --packages-above ros2cli
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/19368

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@fujitatomoya
Copy link
Copy Markdown
Collaborator Author

fujitatomoya commented Jun 2, 2026

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@fujitatomoya
Copy link
Copy Markdown
Collaborator Author

windows failures https://ci.ros2.org/job/ci_windows/28198/#showFailuresLink are known issue with spawn_daemon.

@fujitatomoya fujitatomoya merged commit 70327b9 into rolling Jun 2, 2026
3 checks passed
@fujitatomoya
Copy link
Copy Markdown
Collaborator Author

i think this is nice to have for downstream distributions, but i suggest wait for a few weeks to make sure nothing breaks in rolling for user experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ros2daemon log behavior and management with doc

2 participants